package com.qf.purchasing.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 采购方式名
 */
@ApiModel(description = "采购方式名")
@Data
@TableName(value = "z_way")
public class Way {
    public static final String COL_WAY_ID = "way_id";
    public static final String COL_WAY_NAME = "way_name";
    public static final String COL_STATUS = "status";
    /**
     * 采购方式id
     */
    @TableId(value = "way_id", type = IdType.INPUT)
    @ApiModelProperty(value = "采购方式id")
    private Integer wayId;
    /**
     * 采购方式名
     */
    @TableField(value = "way_name")
    @ApiModelProperty(value = "采购方式名")
    private String wayName;
    /**
     * 状态，0代表已删除，1代表未删除
     */
    @TableField(value = "`status`")
    @ApiModelProperty(value = "状态，0代表已删除，1代表未删除")
    @TableLogic(delval = "0", value = "1")
    private Integer status;
}